How to get "View Name" & "Module Name" from decodeURL

Hello all,

I have an URL copy  whichis given by client/customer which is of view URL. Here I have a requirement to fetch both View Name & Module Name.

I am able to get module name but not able to get View name from URL :(

string strURLName = null
ModuleVersion mv
int objectAbsno
Item i
string dbHost = null
int dbPort
string dbName
string dbID = null

string strModName

strTheURL = "doors://VM_IBM:36677/?version=2&prodID=0&view=00000213&urn=urn:telelogic::1-4a6d660710df0c40-F-0000a8a2"

 

strURLName = decodeURL(strTheURL, dbHost, dbPort, dbName, dbID, i, mv, objectAbsno)

strModName = fullName i

strViewName = ??

 

Note: even I tried with decodeResourceURL(). It getting an error i.e Internal error at line decodeResourceURL() function.

I don't know what is the use of decodeResourceURL() and difference between decodeResourceURL() &   decodeURL().

It would be great if any one can give the solution!!

Thanks in advance.


iSrikanth - Wed May 10 11:04:21 EDT 2017